# find_sender.py
# import fileinput, re
# pat = re.compile('From: (.*) <.*?>$')
# for line in fileinput.input():
#     m = pat.match(line)
#     if m: print m.group(1)


# import re
# some_text = 'alpha ,beta,,,,gamma delta'
# re.split("[, ]+",some_text)
# ["alpha","beta",'gamma','delta']


# import re
# pat = '[a-zA-Z]+'
# text = 'hm... Err -- are you sure ? he said , sounding insecure'
# re.findall(pat,text)

# pat = r'[.?\-",]+'
# text = 'hm... Err -- are you sure ? he said , sounding insecure'
# re.findall(pat,text)

# import re
# pat = '{name}'
# text = 'Dear {name}...'
# re.sub(pat,"Mr,Gumby",text)

# import re
# re.escape('www.python.org')

# ---- user re to match object and group

import group 
m = re.match(r'www\.(.*)\..{3}',"www.python.org")
m.group(1);
m.start(1);
m.end(1);
m.span(1);